import HelloWorld from '@/views/example/HelloWorld'
import Login from '@/views/account/Login'
import MyMap from '@/views/map/map'
import MapView from '@/views/map/map-view'
import TodoView from '@/views/todo/todo-view'

const exampleRoutes = {
  path: '/hello',
  name: 'hello',
  component: HelloWorld
}

const loginRoutes = {
  path: '/login',
  name: 'login',
  component: Login
}

const MapRoutes = {
  path: '/map',
  name: 'map',
  component: MyMap
}

const MapViewRoutes = {
  path: '/',
  name: 'mapview',
  component: MapView
}

const TodoViewRoutes = {
  path: '/todoview',
  name: 'todoview',
  component: TodoView
}

export default [
  exampleRoutes,
  loginRoutes,
  MapRoutes,
  MapViewRoutes,
  TodoViewRoutes
]
